go/printer.printer.comments (field)
12 uses
go/printer (current package)
nodes.go#L70: if p.comments == nil {
nodes.go#L72: p.comments = make([]*ast.CommentGroup, 1)
nodes.go#L73: } else if p.cindex < len(p.comments) {
nodes.go#L78: p.comments = p.comments[0:1]
nodes.go#L82: p.comments[0] = g
printer.go#L85: comments []*ast.CommentGroup // may be nil
printer.go#L127: for p.cindex < len(p.comments) {
printer.go#L128: c := p.comments[p.cindex]
printer.go#L1132: p.comments = comments[i:j]
printer.go#L1136: p.comments = n.Comments
printer.go#L1140: p.useNodeComments = p.comments == nil
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)